PHPMailer for Phoenix
=====================

Some hosts turn off the usual sendmail system unless you pay more money.  
Our advice is to move to another host.

Sometimes moving host is impractical, so this Addon might be a way forward.


Installation
============

1.  Perform SQL Changes using your Hosting Control Panel or via PHPMyAdmin
    - Find SQL below
    
2.  Upload all
    - except this README
    
3.  Turn on and Configure SMTP settings
    - Your Admin > Configuration > E-mail Options
    
    E-Mail Transport Method = smtp
    SMTP Host = *		
    SMTP Port = *		 		
    SMTP Username = *		 		
    SMTP Password = *		 		
    Authenticate SMTP User = *		
    SMTP Encryption = *		
    
    * = Your Hosting Provider will advise you appropriately.
    
    
Once all set up correctly, your shops emails will be sent via SMTP.   
    
    
    
SQL
===

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('SMTP Host', 'EMAIL_SMTP_HOST', '', 'Used if E-Mail Transport Method is SMTP. Your Hosting Provider will supply this.', 12, 10, NOW());

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('SMTP Port', 'EMAIL_SMTP_PORT', '', 'Used if E-Mail Transport Method is SMTP. Your Hosting Provider will supply this.', 12, 12, NOW());

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('SMTP Username', 'EMAIL_SMTP_USERNAME', '', 'Used if E-Mail Transport Method is SMTP. Your Hosting Provider will supply this.', 12, 14, NOW());

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('SMTP Password', 'EMAIL_SMTP_PASSWORD', '', 'Used if E-Mail Transport Method is SMTP. Your Hosting Provider will supply this.', 12, 16, NOW());

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Authenticate SMTP User', 'EMAIL_SMTP_AUTH', 'False', 'Used if E-Mail Transport Method is SMTP. Your Hosting Provider will give more details.', 12, 18, 'Config::select_one([\'True\', \'False\'],', NOW());

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('SMTP Encryption', 'EMAIL_SMTP_SECURE', 'no', 'Used if E-Mail Transport Method is SMTP. Your Hosting Provider will give more details.', 12, 20, 'Config::select_one([\'ssl\', \'tls\', \'no\'],', NOW());
